package com.cloud.sleuth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import zipkin2.server.internal.EnableZipkinServer;

@SpringBootApplication
/** 设置为注册服务*/
@EnableEurekaClient
/** 开启声明式rest调用接口*/
@EnableFeignClients
/** 开启ZipkinServer的功能*/
@EnableZipkinServer
/**
 * 启动类
 *
 * @author qinxh
 * @date 2019/07/22
 */
public class SleuthApplication {

	public static void main(String[] args) {

		SpringApplication.run(SleuthApplication.class, args);
	}
}
